package com.example.service;

import com.example.plugin.UserPlugin;
import com.example.pojo.User;
import org.springframework.stereotype.Service;

/**
 * <p>
 *
 * </p>
 *
 * @author: rch
 * @since: 2020-07-18
 */
@Service
public class AppUserPlugin1 implements UserPlugin {
    @Override
    public boolean beforeSave(User groupData) {
        System.out.println("==AppUserPlugin1== 模拟新增用户前的操作！  ====");
        return true;
    }

    @Override
    public boolean afterSave(User groupData) {
        System.out.println("==AppUserPlugin1== 模拟新增用户后的操作！  ====");
        return true;
    }
}
